@import '~antd/es/style/themes/default.less';

html,
body,
#root {
  min-width: 1500px;
  height: 100%;
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
  left: unset;
}

#wx_login_container,
#wx_login_container2 {
  display: flex;
  align-items: center;
  justify-content: center;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}
.homepage .ant-pro-page-container-children-content {
  margin: 0;
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

// Compatible with IE11
@media screen and(-ms-high-contrast: active), (-ms-high-contrast: none) {
  body .ant-design-pro > .ant-layout {
    min-height: 100vh;
  }
}
.ant-pro-steps-form-container {
  width: 100%;
  margin: 5px auto;
}

.amap-logo {
  display: none !important;
  visibility: hidden !important;
}
.amap-copyright {
  display: none !important;
  visibility: hidden !important;
}
.ant-picker-calendar-mode-switch {
  .ant-radio-button-wrapper:not(.ant-radio-button-wrapper-checked) {
    display: none;
  }
}
.ant-modal-body .ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date {
  padding: 0;
}
.ant-picker-calendar-date-value {
  padding: 0 5px;
}
.panel-tabs-bar {
  // .ant-tag {
  //   cursor: pointer !important;
  // }
  .ant-badge {
    margin-right: 5px;
  }
}
@font-face {
  font-family: 'Roboto Condensed';
  src: url('/fonts/RobotoCondensed.ttf');
}
@font-face {
  font-family: 'DOUYU';
  src: url('/fonts/DOUYU.ttf');
}
